import { BASE_PRE } from "../utils/base.js";
 

const roles = {};

roles.list = {
  url: BASE_PRE + "/role/pages",
  method: "post",
  loadingPreset: {
    background: "rgba(0,0,0,0.3)",
  }
}; 

roles.save = {
    url: BASE_PRE + "/role/save", 
    method: "post",
}

roles.del = {
    url: BASE_PRE + "/role/del", 
    method: "get",
}

roles.relUsers = {
    url: BASE_PRE + "/role/rel/users", 
    method: "post",
}

export default roles;